<%login = @friend ? @friend.login : params[:friend]%>
<div class="submenu">
<table width="100%">
 <tr>
   <td align="left" width="33%">
      <%=button 'hand_l.png', _('left'), {:controller=>"pages", :action=>"list", :page => @pages.previous_page, :friend => login} if @pages.previous_page%>
   </td>
   <td align="center">
     <%= @page.created_at if app_config[:show_date]%>&nbsp;
     <%= will_paginate @pages, @pagination_opts unless app_config[:no_links]%>
   </td>
   <td align="right" width="33%">
      <%=button 'hand_r.png', _('right'), {:controller=>"pages", :action=>"list", :page => @pages.next_page, :friend => login} if @pages.next_page%>
   </td>
 </tr>
</table>
</div>
